<%@ page import="java.util.List" %>
<%@ page import="java.util.ArrayList" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
	<head>
		<title>Title</title>
	</head>
	<body>
		<c:out value="hello"/>
		<%--var:存储信息的变量 value:要存储的值--%>
		<c:set var="scope" value="68"/>
		
		<c:choose>
			<c:when test="${scope>60}">
				你及格了
			</c:when>
			<c:otherwise>
				你没及格
			</c:otherwise>
		</c:choose>

		<c:if test="${scope>60}" var="s">
			我成功${s}
		</c:if>

		<%
			List list = new ArrayList();
			list.add("为");
			list.add("额");
			list.add("情味");
			list.add("我人");
			request.setAttribute("list",list);
		%>
		<c:forEach items="${list}" var="s" begin="1" end="2" step="1">
			${s}
		</c:forEach>
		${pageContext.servletContext.contextPath}
		${param.}
	</body>
</html>
